
package com.fis.mca.persistence;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>Java class for promotionValues complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="promotionValues">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="freeType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="freeValue" type="{http://www.w3.org/2001/XMLSchema}long"/>
 *         &lt;element name="promDetailId" type="{http://www.w3.org/2001/XMLSchema}int"/>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "promotionValues", propOrder = {
    "freeType",
    "freeValue",
    "promDetailId"
})
public class PromotionValues {

    protected String freeType;
    protected Long freeValue;
    protected int promDetailId;

    /**
     * Gets the value of the freeType property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getFreeType() {
        return freeType;
    }

    /**
     * Sets the value of the freeType property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setFreeType(String value) {
        this.freeType = value;
    }

    /**
     * Gets the value of the freeValue property.
     * 
     */
    public Long getFreeValue() {
        return freeValue;
    }

    /**
     * Sets the value of the freeValue property.
     * 
     */
    public void setFreeValue(Long value) {
        if (value !=null){
        	this.freeValue = value;
        }
        else this.freeValue=null;
    }

    /**
     * Gets the value of the promDetailId property.
     * 
     */
    public int getPromDetailId() {
        return promDetailId;
    }

    /**
     * Sets the value of the promDetailId property.
     * 
     */
    public void setPromDetailId(int value) {
        this.promDetailId = value;
    }
}
